<?php 
	
	class StuController extends Controller{
		function listAction(){
		$m_stu=Factory::M('stuModel');
		$stu_list=$m_stu->getList();
		$this->assign('stu_list',$stu_list);

		$this->display('stu_v.html');
		}
		function removeAction(){
			$m_stu=Factory::M('StuModel');
			if($m_stu->remove($_GET['id'])){
			$stu_list=$m_stu->getList();
			}
		$this->assign('stu_list',$stu_list);
		$this->display('stu_v.html');
		}



	}







 ?>